github.com/go-pg/pg/v10.baseDB.shouldRetry (method)

7 uses

	github.com/go-pg/pg/v10 (current package)
		base.go#L183: func (db *baseDB) shouldRetry(err error) bool {
		base.go#L255: 		if !db.shouldRetry(lastErr) {
		base.go#L325: 		if !db.shouldRetry(lastErr) {
		stmt.go#L60: 		if !stmt.db.shouldRetry(lastErr) {
		stmt.go#L108: 		if !stmt.db.shouldRetry(lastErr) {
		stmt.go#L173: 		if !stmt.db.shouldRetry(lastErr) {
		tx.go#L329: 		if !tx.db.shouldRetry(lastErr) {